package com.sunny.ynhz.app;

import com.sunny.ynhz.utils.SPUtil;

/**
 * Created by luao on 2017/7/21.
 */

public class UserInfo {

    public static String getUserId() {
        if (!SPUtil.get("userId", "null").equals("null")) {
            return SPUtil.get("userId", "null").toString();
        } else {
            return null;
        }

    }
}
